Completed
Push — master ( e58be0...a87f83 )
by
unknown
02:01 queued 27s
created

setVariable.js ➔ setVariable   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 3

Duplication

Lines 0
Ratio 0 %

Importance

Changes 1
Bugs 0 Features 0
Metric Value
cc 1
nc 1
dl 0
loc 3
rs 10
c 1
b 0
f 0
nop 3
1
2
/**
3
 * Handlebars helper, to add variable inside template file
4
 */
5
export default function setVariable(varName, varValue, options){
6
  options.data.root[varName] = varValue;
7
};